POV-Ray : Newsgroups : povray.newusers : Help with "Endless" texture : Re: Help with "Endless" texture Server Time
31 Jul 2024 00:30:24 EDT (-0400)
  Re: Help with "Endless" texture  
From: Pirate Lord
Date: 30 Apr 2003 14:58:29
Message: <3eb01cd5@news.povray.org>
Here is an extract of the relevant section, image produced at 320x240

#include "colors.inc"
camera {
     location <0, 0, -7>
     look_at 0
     angle 30
}
light_source { <1000, 1000, -1000> White }
#declare MyTex = texture {
     pigment {
          agate
          turbulence 0.75
          lambda 4
          omega 0.91
          octaves 10
          color_map {
               [0.000 color rgb <0.42,0.96,0.39>]
               [0.815 color rgb <0.35,0.77,0.26>]
               [1.000 color rgb <0.51,0.62,0.43>]
          }
     }
     normal {
          bozo
          turbulence 0.98
          lambda 1.1
          normal_map {
               [0.26 dents 2.78 scale 0.34]
               [0.62 agate turbulence 0.4]
               [1.00 dents 2.78 scale 0.34]
          }
     }
}
box {<-1.9,-1.45,0>,<1.9,1.45,0>
     texture {MyTex}
}

"Warp" <war### [at] tagpovrayorg> wrote in message
news:3eaeea6c@news.povray.org...
> Pirate Lord <pir### [at] btinternetnospamcom> wrote:
> > I would like this texture to be applied so that when moving off the left
of
> > the image, the texture carries on from the right.
>
>   Seeing the current code you are using would help giving you a definite
> answer (because by default an image map repeats itself, so if it doesn't
> you must have done something to turn this default behaviour off).
>
> --
> #macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb
M()}}
> N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
> N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  -
Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.